/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.rand;

import java.util.Random;

/**
 * <p>Project: app2022 - Rand2
 * <p>Powered by webrx On 2022-01-06 19:10:42
 *
* @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class Rand2 {
    public static void main(String[] args) {
        int s = 18;
        for (int i = 1; i < 15; i += 2)
            System.out.println(" ".repeat(--s).concat("*".repeat(i)));


        System.out.println(System.getProperty("java.version"));

        var rand = new Random();
        for (int i = 0; i < 15; i++) {

            //long num = rand.nextLong(1, 3);
            //System.out.println(num);

            System.out.println(rand.nextInt(10, 13));


        }
    }
}
